import { IsNotEmpty } from "class-validator";

export class LockChannelDto {

  @IsNotEmpty({ message: '车源id不能为空' })
  id: string

  @IsNotEmpty({ message: '用户id不能为空' })
  userId: string

  @IsNotEmpty({ message: '锁定天数不能为空' })
  lockDay: number

  @IsNotEmpty({message: '所需积分不能为空'})
  useCoin: number
}